package priv.dajie.tzzq.model;

import priv.dajie.tzzq.common.enumTypeHandler.BaseEnum;

public enum GoodsState implements BaseEnum<String> {
    SELLING("待出售"), TAKE_BACK("待取回"),SUCCESS("已出售"), UNKNOWN("未知"), CONFIRMING("待确认"), PACKAGE("待上架"), WAIT("待发货"), FAIL("已失效"), BUY("购买");
    private String name;

    GoodsState(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return name;
    }

    @Override
    public String getDictKey() {
        return name;
    }
}
